package tech.mhuang.pacebox.springboot.autoconfiguration.kafka;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import tech.mhuang.pacebox.kafka.admin.bean.KafkaInfo;

/**
 * kafka配置信息
 *
 * @author mhuang
 * @since 1.0.0
 */
@ConfigurationProperties(prefix = "pacebox.kafka")
@Data
@EqualsAndHashCode(callSuper = false)
public class KafkaProperties extends KafkaInfo {

    /**
     * open kafka property..
     * default is true
     */
    private boolean enable = true;
}
